// Copyright (c) Microsoft Corporation
// All rights reserved

namespace Microsoft.Windows.Controls.Specialized.TextModel
{
    /// <summary>
    /// Identifies tracking modes for TextPoint objects.
    /// </summary>
    public enum TrackingMode
    {
        /// <summary>
        /// TrackingMode.Positive indicates that a point will "track" toward the end of the document, meaning 
        /// insertions at the point will "push" it, leaving it at the end of the inserted text.  In the case
        /// of a replacement that overlaps the point, it will end up at the end of the replacement text.
        /// </summary>
        Positive,

        /// <summary>
        /// TrackingMode.Negative indicates that a point will "track" to towards the beginning of
        /// the document, meaning insertions at the point will leave it unaffected.  In the case of a
        /// replacement that overlaps the point, it will end up at the beginning of the replacement text.
        /// </summary>
        Negative
    }
}
